﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using General;
using Client;

namespace Client
{
    class Program
    {
        static void Main(string[] args)
        {
            // Client c = new Client();
            Client c = new Client();
            User user = new User();
            user.m_name = "Yura Khariton";
            user.m_id = "jino01";
            user.m_email = "jinoralen@gmail.com";
            user.m_psw = "123789";
            Console.WriteLine(c.Register(user).ToString());
            Console.WriteLine(c.SignOut().ToString());
            Console.WriteLine(c.GetAccount().ToString());
            Console.WriteLine(c.SignIn(user).ToString());

            Content con = c.GetCurrentContent();
            Console.WriteLine(con.m_id.ToString());
            Console.WriteLine(con.m_correct.ToString());
            Console.ReadLine();
            Console.WriteLine(c.Answer(1).ToString());
            Console.ReadLine();
            Console.WriteLine(c.Answer(con.m_correct).ToString());

            Console.ReadLine();
        }
    }
}
